<!DOCTYPE html>
<html>
<head>
	<title>{$name} - {$site_seo_title}</title>
	<meta name="keywords" content="{$seo_keywords}" />
	<meta name="description" content="{$seo_description}">
    <tc_include file="Public:head" />
</head>
<body class="page">
<tc_include file="Public:nav" />
<div class="bg">
<div class="container">
<div class="side">
<php>
function ltime($t){	
	return substr($t,8,2).'<span>'.substr($t,0,7).'</span>';
}
function lleft($s){
	return substr($s,0,120);	
}
$effected_id="main-menu";
$filetpl="<a href='\$href' target='\$target'>\$label</a>";
$foldertpl="<a href='\$href' target='\$target' class='dropdown-toggle' data-toggle='dropdown'>\$label <b class='caret'></b></a>";
$ul_class="dropdown-menu" ;
$li_class="";
$style="menu";
$showlevel=6;
$dropdown='sub';
echo sp_get_menu(2,$effected_id,$filetpl,$foldertpl,$ul_class,$li_class,$style,$showlevel,$dropdown);
</php>
<tc_include file="Public:service"/>
</div>
<div class="content bgf">
	<ul class="list-boxes"><php>$lists = sp_sql_posts_paged("cid:$cat_id;order:listorder DESC;",6);</php><volist name="lists['posts']" id="vo">		
		<li>
			<div>{:ltime($vo['post_date'])}</div>
			<a href="{:leuu('article/index',array('id'=>$vo['tid']))}">
				<h2>{$vo.post_title}</h2>
				<p>{:lleft($vo['post_excerpt'])}</p>
			</a>
		</li></volist>			
	</ul>
	 <ul class="pager">
		{$lists['page']} 	
	 </ul>	
	 </div> 
</div>
</div>
<tc_include file="Public:footer" />
<tc_include file="Public:scripts" />
</body>
</html>